
// Get the path of the currently running do-file
local do_file_path `c(pwd)'

// Change the working directory to the location of the do-file
cd "`do_file_path'"

use "proc_data\DIST2ROAD08_2020-09-30.dta", clear

rename *, lower

label variable dist2road1 "Distance to paved road constrained by country : Jedwab and Storeygard 1"
label variable dist2road3 "Distance to improved road constrained by country : Jedwab and Storeygard 3"
label variable dist2road5 "Distance to dirt road constrained by country : Jedwab and Storeygard 5"
label variable dist2road8 "Distance to highway constrained by country : Jedwab and Storeygard 8"
label variable dist2road0 "Distance to nonlabeled road constrained by country : Jedwab and Storeygard 0"

save "proc_data\DIST2ROADS.dta", replace

